﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;

namespace HttpTunnel
{
    public class Config
    {
        public int Port { get; set; }

        public IPEndPoint Proxy { get; set; }

        public bool IsFilterOn { get; set; }

        public int MaxRequestLength { get; set; }

        public IEnumerable<string> WhiteList { get; set; }
        public IEnumerable<string> BlackList { get; set; }
        public IEnumerable<string> InternalList { get; set; }
        public IEnumerable<string> Keywords { get; set; }

        /// <summary>
        /// html, placeholder = $HTTPDESC$ $DATETIME$
        /// </summary>
        public string ErrorPageTemplate { get; set; }

        /// <summary>
        /// html, placeholder = $HTTPDESC$ $DATETIME$
        /// </summary>
        public string OutOfDatePageTemplate { get; set; }

        public string UserAgent { get; set; }

        public Version MinBrowserVersion { get; set; }
    }
}
